package com.example.springbootsfzy.mapper;

import com.example.springbootsfzy.domain.PsychologicalQaQuestions;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 30658
* @description 针对表【psychological_qa_questions】的数据库操作Mapper
* @createDate 2025-01-02 15:11:37
* @Entity com.example.springbootsfzy.domain.PsychologicalQaQuestions
*/
public interface PsychologicalQaQuestionsMapper {

    int deleteByPrimaryKey(int id);

    int insert(PsychologicalQaQuestions record);

    int insertSelective(PsychologicalQaQuestions record);

    PsychologicalQaQuestions selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(PsychologicalQaQuestions record);

    int updateByPrimaryKey(PsychologicalQaQuestions record);

    Page<PsychologicalQaQuestions> selectPaginatedQuestionsByQ();
    Page<PsychologicalQaQuestions> selectPaginatedQuestionsByR();
    Page<PsychologicalQaQuestions> selectPaginatedQuestionsByT();

    PsychologicalQaQuestions selectQuestionById(int qid);

}
